package com.usian.apis.admin;

import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "频道管理", tags = "channel", description = "频道管理API")
public interface AdChannelControllerApis {

    @ApiOperation("频道分页列表查询")
    ResponseResult findByNameAndPage(ChannelDto channelDto);

    @ApiOperation("频道数据新增")
    ResponseResult insert(AdChannel adChannel);

    @ApiOperation("频道数据修改")
    ResponseResult update(AdChannel adChannel);

    @ApiOperation("频道数据删除")
    ResponseResult delete(Integer id);

    ResponseResult findAll();
}
